<?php
/**
 * 得到当前时间
 */
function getMicrotime() {
	list ($usec, $sec) = explode(" ", microtime());
	return ((float) $usec + (float) $sec);
}


	$st = getMicrotime();
	
	for ($i = 0; $i < 1000000; $i++) {
		function_exists('mysqli_connect');
	}
	
	$et = getMicrotime();
	echo 'func Time: ',($et-$st);

?>